import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class LeetCode1332 {
    public static void main(String[] args) {


    }

    public int removePalindromeSub(String s) {
        if (new StringBuilder(s).reverse().toString().equals(s)) {
            return 1;
        }

        return 2;
    }
}

